import os

# print('starting...')
# os.fork()
# print('Hello World!')
#
# print('starting...')
# ret_val = os.fork()
# if ret_val != 0 :
#     print('fu jin cheng')
# else:
#     print('zi jin cheng')
# print('Helloworld!')

# for i in range(3):
#     ret_val = os.fork()
#     if not ret_val:
#         print('Hello World!')


for i in range(3):
    ret_val = os.fork()
    if not ret_val:
        print('Hello World!')
        exit()